package top.lyc829.aircontroller.logic.dao;

import java.util.ArrayList;

public class Video {

    private String name;
    private String play;
    private String duration;
    private String date;
    private String auth;
    private String imgUrl;
    private String link;
    private ArrayList<String> parts;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPlay() {
        return play;
    }

    public void setPlay(String play) {
        this.play = play;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getAuth() {
        return auth;
    }

    public void setAuth(String auth) {
        this.auth = auth;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public ArrayList<String> getParts() {
        return parts;
    }

    public void setParts(ArrayList<String> parts) {
        this.parts = parts;
    }

    @Override
    public String toString() {
        return "Video{" +
                "name='" + name + '\'' +
                ", play='" + play + '\'' +
                ", duration='" + duration + '\'' +
                ", date='" + date + '\'' +
                ", auth='" + auth + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", link='" + link + '\'' +
                ", parts=" + parts +
                '}';
    }
}
